<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="col-sm-12">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="tabs-container">
                <ul class="nav nav-tabs wNav-tabs">
                    <li class="submitDetailList active" style="margin-bottom: -3px;"><a class="fs14" data-toggle="tab" href="#tab-1" aria-expanded="true"> 今日直播</a></li>
                    <li class="submitOutList" style="margin-bottom: -3px;"><a class="fs14" data-toggle="tab" href="#tab-2" aria-expanded="true"> <span class="label label-warning btn-circle vam hide" id="prompt" style="padding:0;width: 12px;height: 12px;display: inline-block;">&nbsp;</span> <span class="vam">其它事项</span> </a></li>
                </ul>
                <div class="tab-content">
                    <div id="tab-1" class="tab-pane active">
                        <div class="panel-body">
                            <div>
                                <!-- 今日直播 -->
                                <div class="ibox-line" id="live-log-list">

                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab-2" class="tab-pane">
                        <div class="panel-body">
                            <div class="row">
                                <!--要上传的-->
                                <div class="col-sm-4">
                                    <div class="ibox float-e-margins">

                                        <div class="ibox-title m-b-n-sm">
                                            <h5 class="c-green"><i class="fa fa-upload m-r-sm"></i>今日上传</h5>
                                        </div>
                                        <div class="ibox-content ibox-line">
                                            <section class="ibox-c-main" th:if="${#lists.isEmpty(catalogList)}">
                                                <div class="noDataTipsBox noData">
                                                    <p><span class="c-4e fs14">今日无上传待办事项哦~~~</span></p>
                                                </div>
                                            </section>
                                            <section class="ibox-c-main" th:if="!${#lists.isEmpty(catalogList)}" th:each="catalog : ${catalogList}">
                                                <div class="row">
                                                    <div class="col-sm-12">
                                                        <p class="fs16 c-222 ibox-t-text" th:text="${catalog['catalogName']}"></p>
                                                    </div>
                                                    <article class="col-sm-6 m-b-lg"></article>
                                                    <article class="col-sm-6 m-b-lg text-right" th:attr="data-upload=${catalog['courseId']}">
                                                        <a href="javascript:void(0)" class="m-l-lg c-green">
                                                            去上传
                                                            <i class="fa fa-arrow-right m-l-xs"></i>
                                                        </a>
                                                    </article>
                                                </div>
                                            </section>
                                        </div>
                                    </div>
                                </div>
                                <!-- 今日提交的问答 -->
                                <div class="col-sm-4">
                                    <div class="ibox float-e-margins b-fff">
                                        <div class="ibox-title  m-b-n-sm">
                                            <h5 class="c-master"><i class="fa fa-question-circle m-r-sm"></i>学员问题</h5>
                                        </div>
                                        <div class="ibox-content ibox-line">
                                            <section class="ibox-c-main" th:if="${#lists.isEmpty(questionList)}">
                                                <div class="noDataTipsBox noData">
                                                    <p><span class="c-4e fs14">今日无学员提问哦~~~</span></p>
                                                </div>
                                            </section>
                                            <section class="ibox-students" th:if="!${#lists.isEmpty(questionList)}" th:each="question : ${questionList}">
                                                <div class="row">
                                                    <div class="col-sm-12 m-t-md">
                                                        <p class="fs14 c-222 ibox-t-text" th:text="${question['context']}"></p>
                                                    </div>
                                                    <div class="col-sm-6 m-t-xs m-b-md">
                                                        <span class="c-999 fs12" th:text="${#strings.substring(question['createTime'],0,16)}"></span>
                                                    </div>
                                                    <div class="col-sm-6 text-right m-t-xs m-b-md" th:attr="data-question=${question['id']},data-isFree=${question['isFree']}">

                                                        <a  href="javascript:void(0)" class="c-master fs12">查看详情<i class="fa fa-arrow-right m-l-xs"></i></a>
                                                    </div>
                                                </div>
                                            </section>
                                        </div>
                                        <a href="javascript:void(0)" onclick="getRedirectMenu(baseloaction + '/admin/qa/question/queryFreeQuestionList')"  class="text-center fs12 c-999 media-object m-t-xs bl-more">MORE</a>
                                    </div>
                                </div>
                                <!-- 推广员审核 -->
                                <div class="col-sm-4">
                                    <div class="ibox float-e-margins b-fff">
                                        <div class="ibox-title  m-b-n-sm">
                                            <h5 class="c-orange"><i class="fa fa-bell m-r-sm"></i>推广员审核</h5>
                                        </div>
                                        <div class="ibox-content ibox-line">
                                            <section class="ibox-c-main" th:if="${#lists.isEmpty(agentUserList)}">
                                                <div class="noDataTipsBox noData">
                                                    <p><span class="c-4e fs14">今日无推广员审核哦~~~</span></p>
                                                </div>
                                            </section>
                                            <section class="ibox-students" th:if="!${#lists.isEmpty(agentUserList)}" th:each="agent : ${agentUserList}">
                                                <div class="row">
                                                    <div class="col-sm-12 m-t-md">
                                                        <span class="fs14 c-222" th:text="${agent['agentUserName']}"></span><span class="m-l c-999">申请成为推广员</span>
                                                    </div>
                                                    <div class="col-sm-6 m-t m-b-lg">
                                                        <span class="c-999 fs12" th:text="${#strings.substring(agent['createTime'],0,16)}"></span>
                                                    </div>
                                                    <div th:if="${agent['status']}==2" class="col-sm-6 text-right m-t m-b-lg" th:attr="data-agent=${agent['id']}">
                                                        <a  href="javascript:void(0);" data-target="SINGLE" class="c-orange fs12">审核<i class="fa fa-arrow-right m-l-xs"></i></a>
                                                    </div>
                                                </div>
                                            </section>
                                        </div>
                                        <a href="javascript:void(0)" onclick="getRedirectMenu(baseloaction + '/admin/agent/user/queryAgentUserList')" class="text-center fs12 c-999 media-object m-t-xs bl-more">MORE</a>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

</html>